<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>使用java8的时间进行转换</title>
    <link rel="stylesheet" href="/static/css/bootstrap.min.css">
    <link rel="stylesheet" href="/static/css/sweetalert2.min.css">
    <link rel="stylesheet" href="/static/css/bootstrap-datepicker.min.css">
    <style>

        .saveDiv {
            border: 3px solid black;
            border-radius: 5px;
            text-align: center;
            height: 200px;
        }

    </style>
</head>
<body>
<div>
    <label>请选择一个时间</label>
    <input readonly="readonly" id="startDate" />
    <button id="test">点击测试向后台传递时间</button>
    <button id="testToDatabase">从数据库做判断</button>
    <hr/>
    <h3>mybatis使用LocalDateTime进行增删改查</h3>
    <input type="text" id="queryId" placeholder="请输入id" />
    <button id="query">查询</button>
    <div class="saveDiv">
        <label style="margin-top: 80px;">name</label>
        <input type="text" id="name">
        <label>创建时间</label>
        <input readonly="readonly" id="createDate" />
        <button id="save">保存</button>
    </div>
</div>
</body>
<script src="/static/jquery-3.4.1.js"></script>
<script type="text/javascript" src="/static/js/bootstrap/bootstrap-datepicker.min.js"></script>
<script type="text/javascript" src="/static/js/bootstrap/bootstrap-datepicker.zh-CN.min.js"></script>
<script src="/static/js/sweetalert2.min.js"></script>
<script type="text/javascript" src="/static/js/data/userJava8date.js"></script>
</html>